﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MS.InformationManagement.Support.Constants
{
    public static class RibbonDefinitions
    {

        #region Main Tab

       public static string MainTab = @"<Tab
            Id=""MSIM""
            Title=""Gestión Documental""
            Description=""Contiene acciones relacionadas con administración documental del sistema""
            >
            <Scaling
              Id=""Ribbon.MicrosoftInformationManagementTab.Scaling"">
              <MaxSize
                Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.BasedGroup""
                GroupId=""Ribbon.MicrosoftInformationManagementTab.BasedGroup""
                Size=""BasedLayout""/>
              <MaxSize
               Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.DocumentActionGroup""
               GroupId=""Ribbon.MicrosoftInformationManagementTab.DocumentActions""
               Size=""DocumentActionsLayout""/>
              <MaxSize Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.DocumentSchedulingGroup""
                       GroupId=""Ribbon.MicrosoftInformationManagementTab.DocumentSchedulingGroup""
                       Size=""DocumentScheduleLayout""/>
              <MaxSize Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.AdminGroup""
                       GroupId=""Ribbon.MicrosoftInformationManagementTab.AdminGroup""
                       Size=""AdminLayout""/>
              <MaxSize Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.Scanning""
                GroupId=""Ribbon.MicrosoftInformationManagementTab.Scanning""
                Size=""ScanningLayout""/>
              <MaxSize Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.DocumentShipping""
                GroupId=""Ribbon.MicrosoftInformationManagementTab.DocumentShipping""
                Size=""DocumentShippingLayout""/>
              <Scale
               Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.DocumentActionGroup""
               GroupId=""Ribbon.MicrosoftInformationManagementTab.DocumentActions""
               Size=""DocumentActionsLayout""/>
              <Scale Id=""Ribbon.MicrosoftInformationManagementTab.Scaling.DocumentSchedulingGroup""
                       GroupId=""Ribbon.MicrosoftInformationManagementTab.DocumentSchedulingGroup""
                       Size=""DocumentScheduleLayout""/>
              <Scale
                Id=""Ribbon.MicrosoftInformationManagementTab.Scaling.BasedGroup""
                GroupId=""Ribbon.MicrosoftInformationManagementTab.BasedGroup""
                Size=""BasedLayout"" />
              <Scale Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.Scanning""
                GroupId=""Ribbon.MicrosoftInformationManagementTab.Scanning""
                Size=""ScanningLayout""/> 

              <Scale Id=""Ribbon.MicrosoftInformationManagementTab.MaxSize.DocumentShipping""
                GroupId=""Ribbon.MicrosoftInformationManagementTab.DocumentShipping""
                Size=""DocumentShippingLayout""/> 
            </Scaling>
            <Groups Id=""Ribbon.MicrosoftInformationManagementTab.Groups"">
              <Group
                Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup""
                Description=""Contiene acciones relacionadas con el proceso de ingreso de documentos al sistema""
                Title=""Radicación""
                Sequence=""52""
                Template=""Ribbon.Templates.BoundTemplate"">
                <Controls Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Controls"">
                <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Home""
                    Command=""BasedGroup.Home""
                    Sequence=""13""
                    Description=""Ir al Inicio""
                    LabelText=""Inicio""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/inicio.png""
                    TemplateAlias=""homeButton""
                      />
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Expediente""
                    Command=""BasedGroup.Expedientes""
                    Sequence=""14""
                    Description=""Ir a sitio de expedientes""
                    LabelText=""Expedientes""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/expedientes.png""
                    TemplateAlias=""expedientesButton""
                      />
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Input""
                    Command=""BasedGroup.InputCommand""
                    Sequence=""15""
                    Description=""Almacena un documento en sistema que ingresa a la organización""
                    LabelText=""Radicación de Entrada""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/radicacion-entrada.png""
                    TemplateAlias=""inputButton"" 
                      />
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Output""
                    Command=""BasedGroup.OutputCommand""
                    Sequence=""16""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/radicacion-interna.png""
                    Description=""Almacena un documento en sistema que sale de la organización""
                    LabelText=""Radicación Interna""
                    TemplateAlias=""outputButton""/>                  
                  <Button
                   Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.RadicadoSalida""
                   Command=""BasedGroup.RadicadoSalidaCommand""
                   Sequence=""17""
                   Image32by32=""/_layouts/images/MS.InformationManagement.Branding/radicacion-salida.png""
                   Description=""Crea un nuevo radicado de salida sin antecedentes""
                   LabelText=""Radicado de Salida""
                   TemplateAlias=""templateRadicadoSalidaButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.TemplateGenerator""
                    Command=""BasedGroup.TemplateGeneratorCommand""
                    Sequence=""18""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/nuevo-documento.png""
                    Description=""Crea un documento tomando como base una plantilla del sistema""
                    LabelText=""Nuevo Documento""
                    TemplateAlias=""templategeneratorButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.SolicitudAnulacion""
                    Command=""BasedGroup.SolictudAnulacionCommand""
                    Sequence=""19""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/solicitud-anulacion.png""
                    Description=""Genera una solicitud de anulacion de radicado""
                    LabelText=""Solicitud de anulación""
                    TemplateAlias=""solicitudAnulacionButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Prestamos""
                    Command=""BasedGroup.SolictudPrestamosCommand""
                    Sequence=""21""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/prestamos-documentales.png""
                    Description=""Modulo de Préstamos documentales""
                    LabelText=""Préstamos documentales""
                    TemplateAlias=""PrestamosButton""/>
                    <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Reception""
                    Command=""BasedGroup.Reception""
                    Sequence=""22""
                    Description=""Recepción Física""
                    LabelText=""Recepción Física""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/recibir-radicado.png""
                    TemplateAlias=""receptionButton""
                      />
                   <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.BasedGroup.Print""
                    Command=""BasedGroup.Print""
                    Sequence=""26""
                    Description=""Impresión de Radicados de Salida""
                    LabelText=""Impresión de Documentos""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/imprimir-documento.png""
                    TemplateAlias=""PrintButton"" />
                </Controls>
              </Group>
              <Group Id=""Ribbon.MicrosoftInformationManagementTab.DocumentSchedulingGroup""
                     Description=""Contiene acciones relacionadas con el proceso de agendado de documentos""
                     Title=""Agenda Documental""
                     Template=""Ribbon.Templates.DocumentSchedulingTemplate""
                     Sequence=""54"">
                <Controls Id=""Ribbon.MicrosoftInformationManagementTab.DocumentSchedulingGroup.Controls"">
                  <Button
                  Id=""Ribbon.MicrosoftInformationManagementTab.DocumentSchedulingGroup.ViewSchedule""
                  Command=""DocumentSchedulingGroup.ViewSchedule""
                  Sequence=""20""
                  Description=""Despliega el estado actual de la agenda documental para la biblioteca""
                  LabelText=""Ver Agenda Documental""
                  Image32by32=""/_layouts/images/MS.InformationManagement.Branding/ver-agenda-documental.png""
                  TemplateAlias=""viewScheduleButton""
                    />
                  <Button
                  Id=""Ribbon.MicrosoftInformationManagementTab.DocumentSchedulingGroup.ScheduleDocument""
                  Command=""DocumentSchedulingGroup.ScheduleDocument""
                  Sequence=""21""
                  Description=""Agenda los documentos seleccionados para ser atendidos y generar alertas visuales""
                  LabelText=""Agendar documentos""
                  Image32by32=""/_layouts/images/MS.InformationManagement.Branding/agendar-doc.png""
                  TemplateAlias=""scheduleDocumentsButton""
                    />
                </Controls>
              </Group>
              <Group
                  Id=""Ribbon.MicrosoftInformationManagementTab.DocumentActions""
                  Description=""Contiene acciones ejecutables sobre documentos""
                  Title=""Documentos""
                  Template=""Ribbon.Templates.DocumentActionsTemplate""
                  Sequence=""55"">
                <Controls Id=""Ribbon.MicrosoftInformationManagementTab.DocumentActions.Controls"">
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.DocumentActions.MoveDocument""
                    Command=""DocumentActionGroup.MoveDocument""
                    Sequence=""22""
                    Description=""Reasigna un documento a otro usuario del sistema""
                    LabelText=""Reasignar""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/reasignacion-docs.png""
                    TemplateAlias=""moveDocumentsButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.DocumentActions.ApproveDocument""
                    Command=""DocumentActionGroup.ApproveDocument""
                    Sequence=""23""
                    Description=""Le da visto bueno al documento""
                    LabelText=""V.B""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/visto-bueno-docs.png""
                    TemplateAlias=""vbDocumentsButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.DocumentActions.InformDocument""
                    Command=""DocumentActionGroup.InformDocument""
                    Sequence=""24""
                    Description=""Informar un documento""
                    LabelText=""Informar""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/informar-documento.png""
                    TemplateAlias=""informDocumentsButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.DocumentActions.AddToRecord""
                    Command=""DocumentActionGroup.AddToRecord""
                    Sequence=""25""
                    Description=""Incluir a Expediente""
                    LabelText=""Incluir""
                    Image16by16=""/_layouts/images/ctoa16.png""
                    TemplateAlias=""includeButton""/>
                </Controls>
              </Group>
              <Group Id=""Ribbon.MicrosoftInformationManagementTab.DocumentShipping""
                     Description=""Contiene acciones relacionadas con de envíos de radicados""
                     Title=""Envíos""
                     Template=""Ribbon.Templates.DocumentShipping""
                     Sequence=""60"">
                <Controls Id=""Ribbon.MicrosoftInformationManagementTab.DocumentShipping.Controls"">
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.DocumentShipping.Envios""
                    Command=""DocumentShipping.Envios""
                    Sequence=""62""
                    Description=""Mis Devoluciones""
                    LabelText=""Mis Devoluciones""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/devolucion-de-correspondencia.png""
                    TemplateAlias=""_EnviosButton""
                    />
                </Controls>
              </Group>
            </Groups>
          </Tab>";

        #endregion

        #region Administration Tab

        public static string AdministrationTab = @"<Tab
            Id=""MSIMADM""
            Title=""Administración""
            Description=""Contiene acciones relacionadas con administración del sistema""
            >
            <Scaling
              Id=""Ribbon.InformationManagementTabAdmin.Scaling"">
              <MaxSize Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Profiles""
                        GroupId=""Ribbon.InformationManagementTabAdmin.Profiles""
                        Size=""ProfilesLayout""/>
              <MaxSize Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Users""
                        GroupId=""Ribbon.InformationManagementTabAdmin.Users""
                        Size=""UsersLayout""/>
              <MaxSize Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Contacts""
                        GroupId=""Ribbon.InformationManagementTabAdmin.Contacts""
                        Size=""ContactsLayout""/> 
              <MaxSize Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Correspondencia""
                        GroupId=""Ribbon.InformationManagementTabAdmin.Correspondencia""
                        Size=""CorrespondenciaLayout""/>
              <MaxSize Id=""Ribbon.InformationManagementTabAdmin.MaxSize.MassiveUploads""
                        GroupId=""Ribbon.InformationManagementTabAdmin.MassiveUploads""
                        Size=""MassiveUploadsLayout""/>
              <MaxSize Id=""Ribbon.InformationManagementTabAdmin.MaxSize.TRD""
                        GroupId=""Ribbon.MicrosoftInformationManagementTab.TRD""
                        Size=""TRDLayout""/>
              <Scale Id=""Ribbon.InformationManagementTabAdmin.MaxSize.MassiveUploads""
                     GroupId=""Ribbon.InformationManagementTabAdmin.MassiveUploads""
                     Size=""MassiveUploadsLayout""/>
              <Scale Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Profiles""
                     GroupId=""Ribbon.InformationManagementTabAdmin.Profiles""
                     Size=""ProfilesLayout""/>
              <Scale Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Users""
                     GroupId=""Ribbon.InformationManagementTabAdmin.Users""
                     Size=""UsersLayout""/>
              <Scale Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Contacts""
                        GroupId=""Ribbon.InformationManagementTabAdmin.Contacts""
                        Size=""ContactsLayout""/> 
              <Scale Id=""Ribbon.InformationManagementTabAdmin.MaxSize.Correspondencia""
                        GroupId=""Ribbon.InformationManagementTabAdmin.Correspondencia""
                        Size=""CorrespondenciaLayout""/>
              <Scale Id=""Ribbon.InformationManagementTabAdmin.MaxSize.TRD""
                        GroupId=""Ribbon.MicrosoftInformationManagementTab.TRD""
                        Size=""TRDLayout""/>
            </Scaling>
            <Groups Id=""Ribbon.InformationManagementTabAdmin.Groups"">
              <Group
                Id=""Ribbon.InformationManagementTabAdmin.Profiles""
                Description=""Contiene acciones relacionadas con la gestión de perfiles del sistema""
                Title=""Perfiles""
                Sequence=""52""
                Template=""Ribbon.Templates.Profiles"">
                <Controls Id=""Ribbon.InformationManagementTabAdmin.Profiles.Controls"">
                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Profiles.Profiles""
                    Command=""Profiles.Profiles""
                    Sequence=""13""
                    Description=""Gestion de Perfiles""
                    LabelText=""Perfiles""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/administracion-de-perfiles.png""
                    TemplateAlias=""PerfilButton"" />
                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Profiles.Roles""
                    Command=""Profiles.Roles""
                    Sequence=""14""
                    Description=""Gestión de Roles""
                    LabelText=""Roles""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/configuración-de-roles.png""
                    TemplateAlias=""RolesButton"" />
                </Controls>
              </Group>
              <Group
                Id=""Ribbon.InformationManagementTabAdmin.Users""
                Description=""Contiene acciones relacionadas a la gestión de usuarios""
                Title=""Usuarios""
                Template=""Ribbon.Templates.Users""
                Sequence=""53"">
                <Controls Id=""Ribbon.InformationManagementTabAdmin.Users.Controls"">
                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Users.Users""
                    Command=""Users.Users""
                    Sequence=""19""
                    Description=""Gestión de usuarios""
                    LabelText=""Usuarios""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/administracion-de-usuarios.png""
                    TemplateAlias=""UsersButton""
                    />
                </Controls>
              </Group>
              <Group Id=""Ribbon.InformationManagementTabAdmin.Contacts""
                     Description=""Contiene acciones relacionadas con la gestión de contactos""
                     Title=""Contactos""
                     Template=""Ribbon.Templates.Contacts""
                     Sequence=""54"">
                <Controls Id=""Ribbon.InformationManagementTabAdmin.Contacts.Controls"">
                  <Button
                  Id=""Ribbon.InformationManagementTabAdmin.Contacts.Contacts""
                  Command=""Contacts.Contacts""
                  Sequence=""20""
                  Description=""Gestión de Contactos""
                  LabelText=""Contactos""
                  Image32by32=""/_layouts/images/MS.InformationManagement.Branding/gestion-de-contactos.png""
                  TemplateAlias=""ContactsButton""
                    />
                </Controls>
               </Group>
               <Group
                  Id=""Ribbon.InformationManagementTabAdmin.Correspondencia""
                  Description=""Acciones relacionadas a la gestión de correspondencia""
                  Title=""Correspondencia""
                  Template=""Ribbon.Templates.Correspondencia""
                  Sequence=""57"">
                <Controls Id=""Ribbon.InformationManagementTabAdmin.Correspondencia.Controls"">

                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Correspondencia.Anulacion""
                    Command=""Correspondencia.Anulacion""
                    Sequence=""23""
                    Description=""Anulación de radicados""
                    LabelText=""Anulación Radicado""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/anulacion-de-radicados.png""
                    TemplateAlias=""anulacionButton""/>
    
                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Correspondencia.Festivos""
                    Command=""Correspondencia.Festivos""
                    Sequence=""29""
                    Description=""Días festivos""
                    LabelText=""Festivos""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/días-festivos.png""
                    TemplateAlias=""festivosButton""/>

                   <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Correspondencia.GuiasDeEnvio""
                    Command=""Correspondencia.GuiasDeEnvio""
                    Sequence=""30""
                    Description=""Guías de envío""
                    LabelText=""Guías de envío""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/guia-de-envios.png""
                    TemplateAlias=""guiasDeEnvioButton""/>

                   <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Correspondencia.ConfCostos""
                    Command=""Correspondencia.ConfCostos""
                    Sequence=""31""
                    Description=""Configuración de Costos de Medio de Envío""
                    LabelText=""Medios de Envio""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/costos-de-envio-de-correspondencia.png""
                    TemplateAlias=""confCostos""/>

                   <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Correspondencia.ConfConsecutivos""
                    Command=""Correspondencia.ConfConsecutivos""
                    Sequence=""32""
                    Description=""Permite configurar la estructura de un consecutivo para un tipo de radicado determinado""
                    LabelText=""Tipos de Radicado""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/configuracion-de-consecutivos.png""
                    TemplateAlias=""ConfConsecutivos""/>
                    
                   <Button
                    Id=""Ribbon.InformationManagementTabAdmin.Correspondencia.Zonas""
                    Command=""Correspondencia.Zonas""
                    Sequence=""32""
                    Description=""Permite visualizar las zonas""
                    LabelText=""Zonas""
                    Image32by32=""/_layouts/images/MS.InformationManagement.Branding/zona-geografica.png""
                    TemplateAlias=""Zonas""/>

                </Controls>
              </Group>
              <Group
                  Id=""Ribbon.InformationManagementTabAdmin.MassiveUploads""
                  Description=""Acciones relacionadas con la carga masiva de datos""
                  Title=""Carga Masiva""
                  Template=""Ribbon.Templates.MassiveUploads""
                  Sequence=""58"">
                <Controls Id=""Ribbon.InformationManagementTabAdmin.MassiveUploads.Controls"">
                  
                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.MassiveUploads.Series""
                    Command=""MassiveUploads.SeriesUpload""
                    Sequence=""23""
                    Description=""Carga Masiva de Series""
                    LabelText=""Carga de Series""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/cargar-serie.png""
                    TemplateAlias=""SeriesUploadButton""/>
                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.MassiveUploads.Sections""
                    Command=""MassiveUploads.SectionsUpload""
                    Sequence=""24""
                    Description=""Carga Masiva de Secciones""
                    LabelText=""Carga de Secciones""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/cargar-seccion.png""
                    TemplateAlias=""SectionsUploadButton""/>
                  <Button
                    Id=""Ribbon.InformationManagementTabAdmin.MassiveUploads.Subseries""
                    Command=""MassiveUploads.SubseriesUpload""
                    Sequence=""25""
                    Description=""Carga Masiva de Subseries""
                    LabelText=""Carga de Subseries""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/cargar-subseccion.png""
                    TemplateAlias=""SubseriesUploadButton""/>
                <Button
                    Id=""Ribbon.InformationManagementTabAdmin.MassiveUploads.People""
                    Command=""MassiveUploads.PeopleUpload""
                    Sequence=""26""
                    Description=""Carga Masiva de Contactos - Personas""
                    LabelText=""Carga de Personas""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/cargar-subseccion.png""
                    TemplateAlias=""PeopleUploadButton""/> 
                <Button
                    Id=""Ribbon.InformationManagementTabAdmin.MassiveUploads.Entities""
                    Command=""MassiveUploads.EntitiesUpload""
                    Sequence=""27""
                    Description=""Carga Masiva de Contactos - Entidades""
                    LabelText=""Carga de Entidades""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/cargar-subseccion.png""
                    TemplateAlias=""EntitiesUploadButton""/>                   
                </Controls>
              </Group>
              <Group
                  Id=""Ribbon.MicrosoftInformationManagementTab.TRD""
                  Description=""Permite gestionar información relacionada a tablas de retención documental""
                  Title=""Configuración Tablas Retención""
                  Template=""Ribbon.Templates.TRD""
                  Sequence=""55"">
                <Controls Id=""Ribbon.MicrosoftInformationManagementTab.TRD.Controls"">
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.TRD.Fondos""
                    Command=""TRD.Fondos""
                    Sequence=""22""
                    Description=""Gestión de fondos del sistema""
                    LabelText=""Fondos""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/crear-fondo.png""
                    TemplateAlias=""fondosButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.TRD.Seccion""
                    Command=""TRD.Seccion""
                    Sequence=""23""
                    Description=""Gestión de secciones""
                    LabelText=""Secciones""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/crear-seccion.png""
                    TemplateAlias=""seccionesButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.TRD.Series""
                    Command=""TRD.Series""
                    Sequence=""24""
                    Description=""Gestión series""
                    LabelText=""Series""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/crear-serie.png""
                    TemplateAlias=""seriesButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.TRD.Subseries""
                    Command=""TRD.Subseries""
                    Sequence=""25""
                    Description=""Gstión Subseries""
                    LabelText=""Subseries""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/crear-subserie.png""
                    TemplateAlias=""SubseriesButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.TRD.DocumentalType""
                    Command=""TRD.DocumentalType""
                    Sequence=""26""
                    Description=""Gestión de tipos documentales""
                    LabelText=""Tipos""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/crear-tipo-documental.png""
                    TemplateAlias=""documentalTypesButton""/>
                  <Button
                    Id=""Ribbon.MicrosoftInformationManagementTab.TRD.TRD""
                    Command=""TRD.TRD""
                    Sequence=""27""
                    Description=""Gestión Tablas de Retención""
                    LabelText=""TRD""
                    Image16by16=""/_layouts/images/MS.InformationManagement.Branding/tabla-de-retencion-documental.png""
                    TemplateAlias=""trdButton""/>
                </Controls>
              </Group>
            </Groups>
          </Tab>";

        public static string ContextualTemplateTRD = @"<GroupTemplate Id=""Ribbon.Templates.TRD"" ClassName=""small-ribbon-section"">
            <Layout
              Title=""TRDLayout""
              LayoutTitle=""TRDLayout"">
              <Section Alignment=""Top"" Type=""ThreeRow"">
                <Row>
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""fondosButton"" />
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""seccionesButton"" />
                </Row>
                <Row>
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""seriesButton"" />
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""SubseriesButton"" />
                </Row>
                <Row>
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""documentalTypesButton"" />
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""trdButton"" />
                </Row>
              </Section>
            </Layout>
          </GroupTemplate>";

       public static string ContextualTemplateProfile = @"<GroupTemplate Id=""Ribbon.Templates.Profiles"">
            <Layout
              Title=""ProfilesLayout""
              LayoutTitle=""ProfilesLayout"">
              <Section Alignment=""Top"" Type=""OneRow"">
                <Row>
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""PerfilButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""RolesButton""/>
                </Row>
              </Section>
            </Layout>
          </GroupTemplate>";

       public static string ContextualTemplateMassiveUploads = @"<GroupTemplate Id=""Ribbon.Templates.MassiveUploads"">
            <Layout
              Title=""MassiveUploadsLayout""
              LayoutTitle=""MassiveUploadsLayout"">
              <Section Alignment=""Top"" Type=""ThreeRow"">
                <Row>
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""BackdropUploadButton"" />
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""SectionsUploadButton""/>
                </Row>
                <Row>
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""SeriesUploadButton"" />
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""SubseriesUploadButton""/>
                </Row>
                <Row>
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""PeopleUploadButton"" />
                  <ControlRef DisplayMode=""Medium"" TemplateAlias=""EntitiesUploadButton""/>
                </Row>
              </Section>
            </Layout>
          </GroupTemplate>";

      public static string ContextualTemplateUsers = @"<GroupTemplate Id=""Ribbon.Templates.Users"">
            <Layout
              Title=""UsersLayout""
              LayoutTitle=""UsersLayout"">
              <Section Alignment=""Top"" Type=""OneRow"">
                <Row>
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""UsersButton"" />
                </Row>
              </Section>
            </Layout>
          </GroupTemplate>";

      public static string ContextualTemplateContacts = @"<GroupTemplate Id=""Ribbon.Templates.Contacts"">
            <Layout
              Title=""ContactsLayout""
              LayoutTitle=""ContactsLayout"">
              <Section Alignment=""Top"" Type=""OneRow"">
                <Row>
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""ContactsButton"" />
                </Row>
              </Section>
            </Layout>
          </GroupTemplate>";

       public static string ContextualTemplateCorrespondencia = @"<GroupTemplate Id=""Ribbon.Templates.Correspondencia"">
            <Layout
              Title=""CorrespondenciaLayout""
              LayoutTitle=""CorrespondenciaLayout"">
              <Section Alignment=""Top"" Type=""OneRow"">
                <Row>
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""modoButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""anulacionButton"" />>
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""ReportesButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""edicionTypesButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""costsButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""festivosButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""confCostos"" />                  
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""guiasDeEnvioButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""ConfConsecutivos"" />
                <ControlRef DisplayMode=""Large"" TemplateAlias=""Zonas"" />
                </Row>
              </Section>
            </Layout>
          </GroupTemplate>";


        #endregion

        #region [MailDeliveryTab]

       public static string DeliveriesTab = @"<Tab
            Id=""MSIMD""
            Title=""Correspondencia""
            Description=""Contiene acciones relacionadas con administración del sistema"">
                <Scaling
                    Id=""Ribbon.InformationManagementTabMailDelivery.Scaling"">
                    <MaxSize Id=""Ribbon.InformationManagementTabMailDelivery.MaxSize.Printing""
                        GroupId=""Ribbon.InformationManagementTabMailDelivery.Printing""
                        Size=""PrintingLayout""/>
                    <MaxSize Id=""Ribbon.InformationManagementTabMailDelivery.MaxSize.Deliveries""
                        GroupId=""Ribbon.InformationManagementTabMailDelivery.Deliveries""
                        Size=""DeliveriesLayout""/> 
                    <Scale Id=""Ribbon.InformationManagementTabMailDelivery.MaxSize.Printing""
                        GroupId=""Ribbon.InformationManagementTabMailDelivery.Printing""
                        Size=""PrintingLayout""/>
                    <Scale Id=""Ribbon.InformationManagementTabMailDelivery.MaxSize.Deliveries""
                        GroupId=""Ribbon.InformationManagementTabMailDelivery.Deliveries""
                        Size=""DeliveriesLayout""/>
                </Scaling>
                <Groups Id=""Ribbon.InformationManagementTabMailDelivery.Groups"">
                    <Group
                        Id=""Ribbon.InformationManagementTabMailDelivery.Deliveries""
                        Description=""Contiene acciones relacionadas con la administración de correspondencia""
                        Title=""Correspondencia""
                        Sequence=""52""
                        Template=""Ribbon.Templates.Deliveries"">
                        <Controls Id=""Ribbon.InformationManagementTabMailDelivery.Deliveries.Controls"">
                            <Button
                                Id=""Ribbon.InformationManagementTabMailDelivery.Deliveries.SendMail""
                                Command=""Deliveries.SendMail""
                                Sequence=""13""
                                Description=""Permite configurar la correspondencia del sistema para salir de la organización""
                                LabelText=""Envío de Documentos""
                                Image32by32=""/_layouts/images/MS.InformationManagement.Branding/enviar-correspondencia.png""
                                TemplateAlias=""SendMailButton"" />
                            <Button
                                Id=""Ribbon.InformationManagementTabMailDelivery.Deliveries.DeliverySheets""
                                Command=""Deliveries.DeliverySheets""
                                Sequence=""15""
                                Description=""Permite visualizar los radicados recibidos para la distribución""
                                LabelText=""Distribucion pendiente""
                                Image32by32=""/_layouts/images/MS.InformationManagement.Branding/distribucion-de-radicados.png""
                                TemplateAlias=""DeliverySheetsButton"" />
                            <Button
                                Id=""Ribbon.InformationManagementTabMailDelivery.Deliveries.Tracking""
                                Command=""Deliveries.Tracking""
                                Sequence=""17""
                                Description=""Permite adjuntar guías de envíos a documentación enviada de manera segura""
                                LabelText=""Adminitración de Guías""
                                Image32by32=""/_layouts/images/MS.InformationManagement.Branding/cargar-guias.png""
                                TemplateAlias=""TrackingButton"" />
                            <Button
                                Id=""Ribbon.InformationManagementTabMailDelivery.Deliveries.Return""
                                Command=""Deliveries.Return""
                                Sequence=""19""
                                Description=""Permite gestionar documentos enviados cuya recepción no ha sido exitosa""
                                LabelText=""Devoluciones""
                                Image32by32=""/_layouts/images/MS.InformationManagement.Branding/devolucion-de-correspondencia.png""
                                TemplateAlias=""ReturnButton"" />      
                        </Controls>
                    </Group>
                </Groups>
            </Tab>";



       public static string ContextualTemplateDeliveries = @"<GroupTemplate Id=""Ribbon.Templates.Deliveries"">
            <Layout
              Title=""DeliveriesLayout""
              LayoutTitle=""DeliveriesLayout"">
              <Section Alignment=""Top"" Type=""OneRow"">
                <Row>
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""SendMailButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""DeliverySheetsButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""TrackingButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""ReturnButton"" />
                  <ControlRef DisplayMode=""Large"" TemplateAlias=""ScanningDocuments"" />
                </Row>
              </Section>
            </Layout>
          </GroupTemplate>";

        #endregion

    }
}
